<!DOCTYPE HTML>
<html>
<HEAD>
<meta charset="UTF-8">
<TITLE>装修攻略管理</TITLE>
</HEAD>
<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    //开启session
    session_start();
    
    //如果session为空，则退出
    if(!$_SESSION['username']){
     echo "<script>alert('登陆失败');
         history.go(-1);</script>";   
    }
?>
 <h1>装修攻略管理</h1>
    <ul>
        <li><a href="contentList.php">类别管理</a></li>
        <li><a href="essayList.php">文章管理</a></li>
    </ul>
    
</body>
</html>

